package com.kaikai.edu.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import com.kaikai.properties.SendMailProps;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yujiankai
 * @since 2022-01-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("edu_email")
@ApiModel(value="Email对象", description="")
public class EduEmail {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "邮件发送id")
    private String eduEmailId;

    @ApiModelProperty(value = "发送内容")
    private String cont;

    @ApiModelProperty(value = "发送主题")
    private String subject;

    @ApiModelProperty(value = "发送人")
    private String sender;

    @ApiModelProperty(value = "接收人名称")
    private String receiver;

    @ApiModelProperty(value = "发送人id")
    private String userId;

    @ApiModelProperty(value = "重发次数")
    private int resendCount;

    @ApiModelProperty(value = "接收人名称")
    private String receiverName;

    @ApiModelProperty(value = "发送时间")
    private Date sendTime;

    @ApiModelProperty(value = "发送失败原因")
    private String sendFailReason;

    @ApiModelProperty(value = "发送结果：01成功；02失败；03发送中")
    private String sendRslt;

    @ApiModelProperty(value = "邮件配置")
    private SendMailProps sendMailProps;
}
